import { BrowserRouter as Router, Route } from 'react-router-dom';
import { Index } from '.';
import { Provider } from "react-redux";
import { store } from "./store";

export let AppRouter = () => {
    return (
        <Provider store={store}>
            <Router>
                <Route path="/" component={Index} />
            </Router>
        </Provider>
    );
}